<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>客户管理</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link href="../../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../../css/font-awesome.css?v=4.4.0" rel="stylesheet">

    <!-- Data Tables -->
    <link href="../../css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
    <link href="../../css/plugins/datapicker/datepicker3.css" rel="stylesheet">

    <!--bootstrap-table-->
    <!-- 引入bootstrap-table样式 -->
    <!--<link href="../../css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">-->

    <link href="../../css/animate.css" rel="stylesheet">
    <link href="../../css/style.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row form-inline" style="margin-left: 20px">
        <label class="i-checks" style="font-size: 14px;padding-right: 10px;">查询条件</label>
        <input id="title" type="text" class="form-control" placeholder="客户姓名">
        <div class="form-group" id="begin">
            <div class="input-group date">
                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                <input id ="startTime" type="text" class="form-control" value="" placeholder="创建时间-开始">
            </div>
        </div>
        <div class="form-group" id="end">
            <div class="input-group date">
                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                <input id ="endTime" type="text" class="form-control" value="" placeholder="创建时间-结束">
            </div>
        </div>
        <button id="searchButton" class="btn btn-primary" style="margin-left: 5px"  type="button"><i class="fa fa-search"></i>&nbsp;查询</button>
        <button id="clearButton" class="btn btn-primary" style="margin-left: 5px"  type="button"><i class="fa fa-undo"></i>&nbsp;清空</button>
    </div>
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>客户详情</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <!--<div class="">-->
                    <!--<a onclick="fnClickAddRow();" href="javascript:void(0);" class="btn btn-primary "><i class="fa fa-plus"></i>新增</a>-->
                    <!--</div>-->
                    <table class="table table-striped table-bordered table-hover " style="text-align: center" id="editCustomer">
                        <thead>
                        <tr>
                            <th style="text-align: center">客户姓名</th>
                            <th style="text-align: center">组织</th>
                            <th style="text-align: center">职位</th>
                            <th style="text-align: center">手机号</th>
                            <th style="text-align: center">邮箱</th>
                            <th style="text-align: center">跟进人</th>
                            <th style="text-align: center">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        </tbody>
                        <tfoot>
                        </tfoot>
                    </table>

                </div>
            </div>
        </div>
    </div>
    <div class="modal inmodal " id="editFollow" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content animated bounceInRight">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">关闭</span>
                    </button>
                    <!--<i class="fa fa-laptop modal-icon"></i>-->
                    <h4 class="modal-title">跟进信息</h4>
                    <!--<small class="font-bold">这里可以显示副标题。</small>-->
                </div>
                --<<div class="modal-body">
                    <!--<p><strong>H+</strong> 是一个完全响应式，基于Bootstrap3.3.6最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术，她提供了诸多的强大的可以重新组合的UI组件，并集成了最新的jQuery版本(v2.1.1)，当然，也集成了很多功能强大，用途广泛的jQuery插件，她可以用于所有的Web应用程序，如网站管理后台，网站会员中心，CMS，CRM，OA等等，当然，您也可以对她进行深度定制，以做出更强系统。</p>-->
                    <!div class="ibox-content">-->
                    <div class="row form-inline" style="margin-left: 20px;margin-bottom: 15px">
                        <label class="i-checks" style="font-size: 14px;padding-right: 10px;">查询条件</label>
                        <input id="followName" type="text" class="form-control" placeholder="姓名">
                        <button id="searchButtonModal" class="btn btn-primary" style="margin-left: 5px"  type="button"><i class="fa fa-search"></i>&nbsp;查询</button>
                        <button id="clearButtonModal" class="btn btn-primary" style="margin-left: 5px"  type="button"><i class="fa fa-undo"></i>&nbsp;清空</button>
                    </div>

                    <div id="staffs" class="row form-inline" style="margin:10px 20px 10px 20px">
                        <span>人员：</span>
                    </div>

                    <table class="table table-striped table-bordered table-hover " style="text-align: center" id="followTable">
                        <thead>
                        <tr>
                            <th style="text-align: center">员工姓名</th>
                            <th style="text-align: center">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        </tbody>
                        <tfoot>
                        </tfoot>
                    </table>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="button" id="modalSave" class="btn btn-primary" >保存</button>
                </div>
            </div>
        </div>
    </div>
</div>


    <div class="modal inmodal " id="editPlan" tabindex="-1" role="dialog"  aria-hidden="true">
        <div class="modal-dialog" style="width: 1000px;">
            <div class="modal-content animated bounceInRight">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">关闭</span>
                    </button>
                    <!--<i class="fa fa-laptop modal-icon"></i>-->
                    <h4 class="modal-title">拜访计划</h4>
                    <!--<small class="font-bold">这里可以显示副标题。</small>-->
                </div>
                <div class="modal-body">
                    <!--<p><strong>H+</strong> 是一个完全响应式，基于Bootstrap3.3.6最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术，她提供了诸多的强大的可以重新组合的UI组件，并集成了最新的jQuery版本(v2.1.1)，当然，也集成了很多功能强大，用途广泛的jQuery插件，她可以用于所有的Web应用程序，如网站管理后台，网站会员中心，CMS，CRM，OA等等，当然，您也可以对她进行深度定制，以做出更强系统。</p>-->
                    <!--<div class="ibox-content">-->
                    <div id="visitPlan" style="width: auto;height: auto;">
                        <div class="row form-inline" style="margin-left: 20px;margin-bottom: 15px;width: 950px;">
                            <label class="i-checks" style="font-size: 14px;padding-right: 10px;">查询条件</label>
                            <input id="visitPlanName" type="text" style="width: 200px" class="form-control"
                                   placeholder="员工姓名">
                            <div class="form-group" id="beginPlan" style="position: relative;z-index: 9999;">
                                <div class="input-group date" >
                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    <input id="startTimePlan" type="text" class="form-control" value=""
                                           placeholder="拜访时间-开始">
                                </div>
                            </div>
                            <div class="form-group" id="endPlan" style="position: relative;z-index: 9999;">
                                <div class="input-group date" >
                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    <input id="endTimePlan" type="text" class="form-control" value=""
                                           placeholder="拜访时间-结束">
                                </div>
                            </div>
                            <button id="searchPlanModal" class="btn btn-primary" style="margin-left: 5px" type="button">
                                <i class="fa fa-search"></i>&nbsp;查询
                            </button>
                            <button id="clearPlanModal" class="btn btn-primary" style="margin-left: 5px" type="button">
                                <i class="fa fa-undo"></i>&nbsp;清空
                            </button>
                        </div>

                        <table class="table table-striped table-bordered table-hover " style="text-align: center"
                               id="planTable">
                            <thead>
                            <tr>
                                <th style="text-align: center">客户</th>
                                <th style="text-align: center">员工</th>
                                <th style="text-align: center">拜访地点</th>
                                <th style="text-align: center">拜访时间</th>
                                <th style="text-align: center">提醒时间</th>
                                <th style="text-align: center">操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            </tbody>
                            <tfoot>
                            </tfoot>
                        </table>

                        <div class="modal-footer">
                            <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="modal inmodal " id="planDetail" tabindex="-1" role="dialog"  aria-hidden="true">
        <div class="modal-dialog" >
            <div class="modal-content animated bounceInRight">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">关闭</span>
                    </button>
                    <!--<i class="fa fa-laptop modal-icon"></i>-->
                    <h4 class="modal-title">拜访计划详情</h4>
                    <!--<small class="font-bold">这里可以显示副标题。</small>-->
                </div>
                <div class="modal-body">
                    <!--<p><strong>H+</strong> 是一个完全响应式，基于Bootstrap3.3.6最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术，她提供了诸多的强大的可以重新组合的UI组件，并集成了最新的jQuery版本(v2.1.1)，当然，也集成了很多功能强大，用途广泛的jQuery插件，她可以用于所有的Web应用程序，如网站管理后台，网站会员中心，CMS，CRM，OA等等，当然，您也可以对她进行深度定制，以做出更强系统。</p>-->
                    <!--<div class="ibox-content">-->
                    <input name="id" type="hidden"  class="form-control"  disabled = "disabled">
                    <div class="form-group"><label>客户</label> <input name="customerName" type="text"  class="form-control" disabled = "disabled"></div>
                    <div class="form-group"><label>员工</label> <input name="staffName" type="text"  class="form-control" disabled = "disabled"></div>
                    <div class="form-group"><label>拜访地点</label> <input name="place" type="text"  class="form-control" disabled = "disabled"></div>
                    <div class="form-group"><label>拜访时间</label> <input name="time" type="text"  class="form-control" disabled = "disabled"></div>
                    <div class="form-group"><label>内容</label> <textarea name="content" type="text"  rows="5" class="form-control" disabled = "disabled"></textarea></div>

                        <div class="modal-footer">
                            <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                        </div>
                </div>
            </div>
        </div>
    </div>

    <div class="modal inmodal " id="editLog" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog" style="width: 1000px;">
            <div class="modal-content animated bounceInRight">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">关闭</span>
                    </button>
                    <!--<i class="fa fa-laptop modal-icon"></i>-->
                    <h4 class="modal-title">拜访记录</h4>
                    <!--<small class="font-bold">这里可以显示副标题。</small>-->
                </div>
                <div class="modal-body">

                    <div class="row form-inline" style="margin-left: 20px;margin-bottom: 15px">
                        <label class="i-checks" style="font-size: 14px;padding-right: 10px;">查询条件</label>
                        <input id="visitLogName" type="text" class="form-control" placeholder="员工姓名">
                        <div class="form-group" id="beginLog" style="position: relative;z-index: 9999;">
                            <div class="input-group date">
                                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                <input id="startTimeLog" type="text" class="form-control" value=""
                                       placeholder="记录时间-开始">
                            </div>
                        </div>
                        <div class="form-group" id="endLog" style="position: relative;z-index: 9999;">
                            <div class="input-group date">
                                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                <input id="endTimeLog" type="text" class="form-control" value=""
                                       placeholder="记录时间-结束">
                            </div>
                        </div>
                        <button id="searchLogModal" class="btn btn-primary" style="margin-left: 5px"  type="button"><i class="fa fa-search"></i>&nbsp;查询</button>
                        <button id="clearLogModal" class="btn btn-primary" style="margin-left: 5px"  type="button"><i class="fa fa-undo"></i>&nbsp;清空</button>
                    </div>

                    <table class="table table-striped table-bordered table-hover " style="text-align: center" id="logTable">
                        <thead>
                        <tr>
                            <th style="text-align: center">客户</th>
                            <th style="text-align: center">员工</th>
                            <th style="text-align: center">拜访方式</th>
                            <th style="text-align: center">拜访结果</th>
                            <th style="text-align: center">客户需求</th>
                            <th style="text-align: center">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        </tbody>
                        <tfoot>
                        </tfoot>
                    </table>


                    <div class="modal-footer">
                        <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal inmodal " id="logDetail" tabindex="-1" role="dialog"  aria-hidden="true">
        <div class="modal-dialog" >
            <div class="modal-content animated bounceInRight">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">关闭</span>
                    </button>
                    <!--<i class="fa fa-laptop modal-icon"></i>-->
                    <h4 class="modal-title">拜访记录详情</h4>
                    <!--<small class="font-bold">这里可以显示副标题。</small>-->
                </div>
                <div class="modal-body">
                    <!--<p><strong>H+</strong> 是一个完全响应式，基于Bootstrap3.3.6最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术，她提供了诸多的强大的可以重新组合的UI组件，并集成了最新的jQuery版本(v2.1.1)，当然，也集成了很多功能强大，用途广泛的jQuery插件，她可以用于所有的Web应用程序，如网站管理后台，网站会员中心，CMS，CRM，OA等等，当然，您也可以对她进行深度定制，以做出更强系统。</p>-->
                    <!--<div class="ibox-content">-->
                    <input name="id" type="hidden"  class="form-control" disabled = "disabled">
                    <div class="form-group"><label>客户</label> <input name="customerName" type="text"  class="form-control" disabled = "disabled"></div>
                    <div class="form-group"><label>员工</label> <input name="staffName" type="text"  class="form-control" disabled = "disabled"></div>
                    <div class="form-group"><label>拜访方式</label> <input name="way" type="text"  class="form-control" disabled = "disabled"></div>
                    <div class="form-group"><label>拜访结果</label> <input name="result" type="text"  class="form-control" disabled = "disabled"></div>
                    <div class="form-group"><label>客户需求</label> <textarea name="requirement" type="text"  rows="3" class="form-control" disabled = "disabled"></textarea></div>
                    <div class="form-group"><label>备注</label> <textarea name="memo" type="text"  rows="5" class="form-control" disabled = "disabled"></textarea></div>

                    <div class="modal-footer">
                        <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    </div>
                </div>
            </div>
        </div>
    </div>


<!-- 全局js -->
<script src="../../js/jquery.min.js?v=2.1.4"></script>
<script src="../../js/bootstrap.min.js?v=3.3.6"></script>


<script src="../../js/plugins/jeditable/jquery.jeditable.js"></script>

<!-- Data Tables -->
<script src="../../js/plugins/dataTables/jquery.dataTables.js"></script>
<script src="../../js/plugins/dataTables/dataTables.bootstrap.js"></script>


<!-- Bootstrap table -->
<!--<script src="../../js/plugins/bootstrap-table/bootstrap-table.min.js"></script>-->
<!--<script src="../../js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>-->
<!--<script src="../../js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>-->

<!-- Date picker -->
<script src="../../js/plugins/datapicker/bootstrap-datepicker.js"></script>

<script>
    $('.input-group.date').datepicker({
        todayBtn: "linked",
        keyboardNavigation: false,
        forceParse: false,
        calendarWeeks: true,
        autoclose: true
    });
</script>


<!-- 自定义js -->
<script src="../../js/content.js?v=1.0.0"></script>


<!-- Page-Level Scripts -->
<script>


</script>

<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
<!--统计代码，可删除-->

<script src="js/customer.js"></script>
<script src="js/visitPlan.js"></script>
<script src="js/visitLog.js"></script>
<script src="js/formatDate.js"></script>

</body>

</html>
